package android.slc.box.core.provider;

import java.util.Locale;

public class ResourceProvider {

    private final static ResourceProvider RESOURCE_PROVIDER = new ResourceProvider();
    /**
     * 盒子资源
     */
    private final BoxesResourceBundleWrap boxesResourceBundle = new BoxesResourceBundleWrap(Locale.getDefault(), "boxes");

    private ResourceProvider() {
    }

    /**
     * 获取默认的实例
     *
     * @return
     */
    public static ResourceProvider getInstance() {
        return RESOURCE_PROVIDER;
    }

    public BoxesResourceBundleWrap getResourceBundle() {
        return boxesResourceBundle;
    }
}
